package com.itheima.easy.enums;

import com.itheima.easy.base.IBasicEnum;

/**
* @ClassName PostEnum.java
* @Description 岗位表枚举
*/

public enum PostEnum implements IBasicEnum {

    SUCCEED(200,"操作成功"),
    FAIL(1000,"操作失败"),
    PAGE_FAIL(53001, "查询岗位表列表失败"),
    SAVE_FAIL(53002, "保存岗位表失败"),
    UPDATE_FAIL(53003, "修改岗位表失败"),
    DEL_FAIL(53004, "删除岗位表失败"),
    LIST_FAIL(53005, "查询岗位表失败")
    ;

    private int code;

    private String msg;

    PostEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
